import {observable,action} from "mobx";
import {getSessionStoreage, setSessionStoreage} from "../../util/storeage";
// import axios from "axios";
class OrderStore {


    @observable orderMainId=getSessionStoreage('orderMainId') ;
    @observable menuType=getSessionStoreage('menuType') ;
    @observable orderAuditStatus=getSessionStoreage('orderAuditStatus');
    @action
    setData=(attr,value)=>{
        console.log('setData');
        setSessionStoreage(attr,value)
    }



}

export default OrderStore